<template>
	<!-- <view>你好</view>
	<web-view  src="https://uniapp.dcloud.io/static/web-view.html"></web-view>
		<view>
	<!-- <web-view src="/hybrid/html/mail-list/index.html"></web-view> -->
	<web-view src="/hybrid/html/local.html" @message="getMessage"></web-view>
	</view>
</template>

<script>
	export default {
		methods: {
			getMessage(e) {
				 console.log('html接收到的消息：' + JSON.stringify(e.detail.data));  
				uni.showModal({
					content: JSON.stringify(e.detail),
					showCancel: false
				})
			}
		}
	}
</script>

<style>
</style>
